 <!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=7" />
	<link href="http://zdmya.oss-cn-hangzhou.aliyuncs.com/css/base.css?v=2013053002" rel="stylesheet" type="text/css">
	<link href="http://zdmya.oss-cn-hangzhou.aliyuncs.com/css/style.css?v=2013053002" rel="stylesheet" type="text/css">
	<link href="http://zdmya.oss-cn-hangzhou.aliyuncs.com/css/info.css" rel="stylesheet" type="text/css">	
	<#include "include/seo.html"/>	
	<script type='text/javascript' src='http://zdmya.oss-cn-hangzhou.aliyuncs.com/js/jquery.js?ver=1.7.2'></script>
	<script type="text/javascript" src="http://zdmya.oss-cn-hangzhou.aliyuncs.com/js/jquery.lazyload.min.js?v=2013053002"></script>
	<script type="text/javascript" src="http://zdmya.oss-cn-hangzhou.aliyuncs.com/js/jquery.cookie.js"></script>
	<script type="text/javascript" src="http://zdmya.oss-cn-hangzhou.aliyuncs.com/js/site.js?v=2013053002"></script>
</head>
<body >

<!--s header-->
<#include "include/header.html"/>
<!-- s the left tjlb -->
<#include "include/left_nav.html"/>
<!--e header-->

<section> 
    <!--s container-->
    <div class="container">
<!--e left -->
		<div class="leftInfo">
			<#include "include/user_head.html"/>
			<div id="wptinfo" class="perInfo">
				<div class="infoBlueBox">
					<div class="leftTitle">个人资料</div>
					<div class="clear"></div>
				</div>
				<div class="clear"></div>
				<form method="post" action="/user/updateuserinfo.html">
					<table>
						<tbody>
							<tr>
								<th>电子邮件： </th>
			                    <td>${user.email}</td>
							</tr>
							<tr>
								<th>用户名：</th>
								<td width="80%"><input type="text" autocomplete="off" value="${user.username}" class="inputData" name="username"></td>
							</tr>
							<tr>
								<th>新密码：</th>
								<td><input type="password" autocomplete="off" value="" class="inputData" name="pass_1"></td>
							</tr>
							<tr>
								<th>确认新密码：</th>
								<td><input type="password" autocomplete="off" value="" class="inputData" name="pass_2"></td>
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td class="layerBtn" style="color:red;">${message!}<input type="submit" value="修改信息" style="float:none;margin-left:50px;" class="layerBtnL"></td>
							</tr>
						</tbody>
					</table>
				</form>
				<form id="frmuploadimg" method="post" action="/user/uploaduserimg.html" enctype="multipart/form-data">
					<div id="user-avatar" class="submitbox">
						<p id="user-avatar-display-image"><img width="115" height="115" class="avatar avatar-115 photo" title="值得买呀会员:${user.username}" src="<#if user.avatar!="">${user.avatar}<#else>http://zdmya.oss.aliyuncs.com/images/useratavar/userdefault.png</#if>" alt=""></p>
						<input id="userimgid" name="filedata" type="file" size="1" onchange="uploaduserimg();"/>
						<input type="submit" class="layerBtnL" style="float:none;margin-right:10px;" value="上传(最大500K)"/>
					</div>
				</form>
			</div>	
		</div>
		<!--s left -->
		<#include "include/user_right.html"/>
		<!-- E Sidebar -->        <!--e right -->
        <div class="clear"></div>
    </div>
    <!--e container-->    
</section>
<#include "include/footer.html"/>
<script type="text/javascript">
	function uploaduserimg(){
		$("#frmuploadimg").submit();
	}
</script>
</body>
</html>